package rensoft.android.rpc.simpleserver;

import static rensoft.java.lang.Lang.is;

public abstract class SimpleRpcServerBase implements ISimpleRpcServer {

  private String sessionId;

  @Override
  public String getSessionId() {
    return sessionId;
  }

  @Override
  public boolean isLogged() {
    return is(sessionId);
  }

  @Override
  public void setSession(String sessionId) {
    this.sessionId = sessionId;
  }
}
